﻿using System.ComponentModel.DataAnnotations;
using static Modules.BankSpecialAccount.BankSpecialAccountConstants;

namespace ManagementApi.Models.System.ProjectSpecialAccount
{
    public class ProjectSpecialAccountExamineForm
    {
        /// <summary>
        /// author:hzj
        /// date:2023/11/8
        ///</summary>
        public int Id { get; set; }
        /// <summary>
        /// 银行账号 
        ///</summary>
        [Display(Name = "银行账号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string? BankNo { get; set; }
        /// <summary>
        /// 银行是否对账户设置特殊标识
        ///</summary>
        [Display(Name = "银行是否对账户设置特殊标识")]
        [Required(ErrorMessage = "{0}不能为空")]
        public bool BankMark { get; set; }
        /// <summary>
        /// 工资专户余额(万元)  
        ///</summary>
        [Display(Name = "工资专户余额(万元)")]
        [Required(ErrorMessage = "{0}不能为空")]
        public decimal Balance { get; set; }
        /// <summary>
        /// 开户地址 
        ///</summary>
        [Display(Name = "开户地址")]
        public string? BankAddress { get; set; }

        /// <summary>
        /// 审核状态(1 未审核, 2 审核失败,3 审核成功)  
        /// 默认值: 1
        ///</summary>
        [Display(Name = "审批意见")]
        [Required(ErrorMessage = "{0}不能为空")]
        public 审批状态 CheckStatus { get; set; }

        /// <summary>
        /// 审批意见原因说明 
        ///</summary>
        [Display(Name = "审批意见原因说明")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string CheckReason { get; set; }
    }
}
